﻿using System.ComponentModel;

namespace SmartSiteManagementSystem.Models.Enums
{
    /// <summary>
    /// 状态码
    /// </summary>
    public enum StateCodeEnum
    {
        /// <summary>
        /// 200-成功
        /// </summary>
        [Description("成功")]
        Ok = 200,


        /// <summary>
        /// 401-缺少提交参数
        /// </summary>
        [Description("操作失败")]
        Fail = 400,



        /// <summary>
        /// 401-缺少提交参数
        /// </summary>
        [Description("缺少提交参数")]
        LackSubmitParam = 401,




        /// <summary>
        /// 404-接口不存在
        /// </summary>
        [Description("接口不存在")]
        UnExistApi = 404,



        /// <summary>
        /// 410-没有权限
        /// </summary>
        [Description("没有权限")]
         VerifyPassFailed = 410,


        /// <summary>
        /// 421-用户授权码错误
        /// </summary>
        [Description("用户授权码错误")]
        WrongUserAuthCode = 421,

        /// <summary>
        /// 413-提交参数值错误
        /// </summary>
        [Description("提交参数值错误")]
        WrongParamValue = 413,

        /// <summary>
        /// 414-提交参数值错误
        /// </summary>
        [Description("操作超时")]
        ActionTimeout = 414,

        /// <summary>
        /// 500-服务器内部错误
        /// </summary>
        [Description("服务器内部错误")]
        InternalServerError = 500,



      

    }
}